import { createApp } from 'vue'
import { setupRouter } from '@renderer/router'
import { createPinia } from 'pinia'

import App from './App.vue'

// 引用iconfont样式
import './styles/iconfont/iconfont.css'
import './styles/index.css'

function Bootstrap() {
  const pinia = createPinia()

  const app = createApp(App)
  setupRouter(app)
  //注册路由
  app.use(pinia)
  app.mount('#app')
}

Bootstrap()
